package com.fxwater.biz.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fxwater.common.annotation.Excel;
import com.fxwater.common.annotation.Excel.Type;
import com.fxwater.common.core.domain.BaseEntity;

/**
 * 泵站告警记录表
 * @author tx
 *
 */
public class FxwAlarmRecordInfo extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	/**
	 * ID
	 */
	@Excel(name = "记录序号")
	private Long id;
	
	/**
	 * 所属泵站ID
	 */
	//@Excel(name = "泵站编号", prompt = "泵站编号")
	private Long stationId;
	
	/**
	 * 泵站名称
	 */
	@Excel(name = "泵站名称")
	private String stationName;
	
	/**
	 * 类型  0：进水，1：出水，2：旁通
	 */
	 @Excel(name = "类型", readConverterExp = "0=进水,1=出水,2=旁通")
	private String type;
	
	/**
	 * 属性类型 
	 * 0：浊度，1：余氯，2：压力
	 */
	 @Excel(name = "属性类型 ", readConverterExp = "0=浊度,1=余氯,2=压力")
	private String fieldType;
	
	/**
	 * 告警值 
	 */
	 @Excel(name = "告警值 ")
	private BigDecimal value;
	
	/**
	 * 高阈值
	 */
	 @Excel(name = "高阈值 ")
	private BigDecimal highThreshold;
	
	/**
	 * 低阈值
	 */
	 @Excel(name = "低阈值 ")
	private BigDecimal lowThreshold;
	
	/**
	 * 告警内容
	 */
	 @Excel(name = "告警内容 ")
	private String content;
	
	/**
	 * 是否高告警  0：低告警1：高告警
	 */
	 @Excel(name = "是否高告警 ", readConverterExp = "0=低告警,1=高告警")
	private String isHighWarm;
	
	/**
	 * 状态  0：显示1：撤销
	 */
	// @Excel(name = "状态 ", readConverterExp = "0=显示,1=撤销")
	private Long status;
	
	/**
	 * 是否有效 0：无效，1：有效
	 */
	private String isValid;
	
	/**
	 * 删除标志1：已删除，0：未删除
	 */
	private String isDeleted;
	
	/**
	 * 
	 */
	@Excel(name = "告警时间", type = Type.EXPORT)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getStationId() {
		return stationId;
	}

	public void setStationId(Long stationId) {
		this.stationId = stationId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFieldType() {
		return fieldType;
	}

	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}

	public BigDecimal getValue() {
		return value;
	}

	public void setValue(BigDecimal value) {
		this.value = value;
	}

	public BigDecimal getHighThreshold() {
		return highThreshold;
	}

	public void setHighThreshold(BigDecimal highThreshold) {
		this.highThreshold = highThreshold;
	}

	public BigDecimal getLowThreshold() {
		return lowThreshold;
	}

	public void setLowThreshold(BigDecimal lowThreshold) {
		this.lowThreshold = lowThreshold;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getIsHighWarm() {
		return isHighWarm;
	}

	public void setIsHighWarm(String isHighWarm) {
		this.isHighWarm = isHighWarm;
	}

	public Long getStatus() {
		return status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public String getIsValid() {
		return isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

	public String getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}
	
	
	

}
